package com.linkhub.oms.admin.modules.oss.domain.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description: PutObjectParam
 * @Author: echo
 * @Date: 2024/5/8 20:15
 * @Version: 1.0
 */
@Data
public class PutObjectParam implements Serializable {

    @ApiModelProperty(value = "商家id")
    @NotBlank(message = "{validation.oss.userId.notBlank}")
    private String userId;

    @ApiModelProperty(value = "模块类型：1-本地商品模块; 2-包材模块; 3-提货模块;4-账户充值模块;5-装箱单模块;6-称重机器图片模块;7-用户信息模块")
    @NotNull(message = "{validation.oss.moduleType.notNull}")
    private Integer moduleType;

    @ApiModelProperty(hidden = true)
    private MultipartFile object;


}
